﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/site.Master" Inherits="System.Web.Mvc.ViewPage<dynamic>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="MainContent" runat="server">
<% 
    BIZ.WebInfomationPublishOper ipo = new BIZ.WebInfomationPublishOper();
    string pid = Request.QueryString["pid"] == null ? ((int)DAL.webEnums.template.学员风采_作品展示).ToString() : Request.QueryString["pid"].ToString();
    string id = Request.QueryString["id"] == null ? "0" : Request.QueryString["id"].ToString();
    IList list = ipo.getinfomationbyid(int.Parse(id));
    Hashtable tb = null;
    if (list.Count > 0)
        tb = (Hashtable)list[0];
    ViewData["pid"] = pid;
%>
<div class="main w_980 clearfix">
	<!--left-->
    <div class="left_box">
    	<!--menu-->
        <% 
            Html.RenderPartial("~/Views/Shared/xyfcLeft.ascx",ViewData["pid"]); 
        %>
        <!--联系方式-->
        <% 
            Html.RenderPartial("~/Views/Shared/lxfs.ascx"); 
        %>
    </div>
	<!--right-->
    <div class="right_box">
    	<!--title-->
    	<div class="title_box"><strong><%=tb["Wi_title0"]%></strong><span>·<a href="/index">首页</a>&gt;<a href="jwzxlist.html">学员风采</a>&gt;<a href="zpzslist.html?pid=<%=pid %>"><%=Enum.GetName(typeof(DAL.webEnums.template), int.Parse(pid)).Replace("学员风采_", "")%></a>&gt;<a href="zpzsdetail.html?pid=<%=pid %>&id=<%=id %>"><%=tb["Wi_title0"]%></a></span></div>
        <!--box-->
        <div class="info_box_main">
            <h4><%=tb["Wi_title1"]%></h4>
            <div class="info_box_time"><%=DateTime.Parse(tb["Wi_addTime"].ToString()).ToString("yyyy年MM月dd日HH:mm")%><span>嘉沃教育</span></div>
            <div class="info_box_main_txt">
            	<%=(tb["Wi_content"] == null ? "" : BIZ.StringTool.GetImgs(tb["Wi_content"].ToString()))%>
            </div>
        </div>
    </div>
</div>

</asp:Content>
